<div id="ja-hot-news" class="wrap">
	<div class="main">
	<div class="inner clearfix">
		<?php if ($this->countModules('hotnews')) { ?>
		<div id="ja-hotnews" >
			<jdoc:include type="modules" name="hotnews" style="JAxhtml" />
		</div>
		<?php } ?>
	</div>
	</div>
</div>

<div id="ja-header" class="wrap">
<div class="main clearfix">

	<?php
    $siteName = $this->sitename();
    if ($this->getParam('logoType')=='image'): ?>
    <h1 class="logo">
        <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam('logoType-text-logoText'))=='') ? $config->sitename : $this->getParam('logoType-text-logoText');
    $sloganText = (trim($this->getParam('logoType-text-sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('logoType-text-sloganText');?>
    <div class="logo-text">
        <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
        <p class="site-slogan"><?php echo $sloganText;?></p>
    </div>
    <?php endif; ?>
	
	<?php if($this->countModules('search')) : ?>
	<div id="ja-search">
		<jdoc:include type="modules" name="search" />
	</div>
	<?php endif; ?>

</div>
</div>
